//
//  XMNetworkManager.h
//  TestView
//
//  Created by lk@wxm on 2024/12/4.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface XMNetworkManager : NSObject<NSURLSessionDelegate>
- (void)performGETRequest:(NSString *)Url andComplet:(void(^)(NSArray*array,NSError*error)) Complete;
- (void)performPOSTRequest:(NSString *)Url andComplet:(void(^)(NSDictionary*dic,NSError*error)) Complete;
- (void)downloadFileFromURL:(NSURL *)url toDestination:(NSURL *)destinationURL;
@end

NS_ASSUME_NONNULL_END
